//
//  HUD.h
//  优学荟管理系统
//
//  Created by 星道 on 17/6/26.
//  Copyright © 2017年 星道三好. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBProgressHUD+LL.h"

@interface HUD : NSObject

// 成功
+ (void)showSuccess:(NSString *)success;
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;

// 失败
+ (void)showError:(NSString *)error;
+ (void)showError:(NSString *)error toView:(UIView *)view;

// 带文本加载框
+ (void)showMessage:(NSString *)message;
+ (void)showMessage:(NSString *)message toView:(UIView *)view;

// 隐藏
+ (void)hideHUD;
+ (void)hideHUDForView:(UIView *)view;

// 显示纯加载框
+ (void)showHUD;

@end
